package com.zeroxml.cms.service.impl;

import com.zeroxml.cms.service.IUserService;
import com.zeroxml.cms.bo.User;
import com.zeroxml.cms.dao.IUserDAO;

/**
 * User: cjp
 * Date: 2007-9-20
 * Time: 9:26:04
 */
public class UserService implements IUserService {
    private IUserDAO userDAO;

    public void setUserDAO(IUserDAO userDAO) {
        this.userDAO = userDAO;
    }

    public User getUser(long userId) {
        return userDAO.getById(userId);
    }
}
